package com.dcloud.manage.mapper;

import com.dcloud.manage.request.CollectSourceRequest;
import com.dcloud.manage.service.entity.DBInfoEntity;
import com.dcloud.manage.vo.CollectSourceVO;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import com.dcloud.manage.service.entity.CollectSource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Description: 数据源表
 * @Author: jeecg-boot
 * @Date:   2022-09-07
 * @Version: V1.0
 */
public interface CollectSourceMapper extends BaseMapper<CollectSource>, MPJBaseMapper<CollectSource> {

    DBInfoEntity queryDbInfoBySourceTid(@Param("sourceId") Integer sourceId);

    List<CollectSourceVO> queryListByReq(@Param("collectSourceRequest") CollectSourceRequest collectSourceRequest);

    CollectSourceVO queryInfoById(@Param("id") String id);

}
